package com.chengyu.core.mapper;

import com.chengyu.core.model.TyPayOrder;
import com.chengyu.core.model.TyPayOrderExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TyPayOrderMapper {
    long countByExample(TyPayOrderExample example);

    int deleteByExample(TyPayOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TyPayOrder record);

    int insertSelective(TyPayOrder record);

    List<TyPayOrder> selectByExample(TyPayOrderExample example);

    TyPayOrder selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TyPayOrder record, @Param("example") TyPayOrderExample example);

    int updateByExample(@Param("record") TyPayOrder record, @Param("example") TyPayOrderExample example);

    int updateByPrimaryKeySelective(TyPayOrder record);

    int updateByPrimaryKey(TyPayOrder record);
}